package cn.wolfcode.wolf2w.strategy.service;


import cn.wolfcode.wolf2w.strategy.entity.StrategyRank;
import cn.wolfcode.wolf2w.strategy.query.StrategyRankQuery;
import cn.wolfcode.wolf2w.strategy.vo.ThemeVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;

/**
 * 攻略排行Service接口
 * 
 * @author libai
 * @date 2024-07-24
 */
public interface IStrategyRankService extends IService<StrategyRank> {
    /**
    * 分页
    * @param qo
    * @return
    */
    IPage<StrategyRank> queryPage(StrategyRankQuery qo);

    List<StrategyRank> queryByType(Integer type);

    List<ThemeVO> queryTheme();

    void updateStrategyRank(int type, Date date);
}
